Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace hipscat_id with spatial index #360

Merged
merged 5 commits into from
Oct 1, 2024
Merged

Conversation

smcguire-cmu
Copy link
Contributor

Fixes #344

Changes the hipscat_id to the spatial_index, renaming the index column to _healpix_29 and dropping the counter to just use the pixel number at order 29 as the index.

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (hats@f177019). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             hats     #360   +/-   ##
=======================================
  Coverage        ?   92.62%           
=======================================
  Files           ?       48           
  Lines           ?     1939           
  Branches        ?        0           
=======================================
  Hits            ?     1796           
  Misses          ?      143           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@delucchi-cmu delucchi-cmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove more instances of hipscat in these files.

tests/hats/pixel_math/test_spatial_index.py Show resolved Hide resolved
tests/hats/pixel_math/test_spatial_index.py Outdated Show resolved Hide resolved
tests/hats/pixel_math/test_spatial_index.py Outdated Show resolved Hide resolved
tests/hats/pixel_math/test_spatial_index.py Show resolved Hide resolved
@smcguire-cmu smcguire-cmu merged commit 67a5964 into hats Oct 1, 2024
9 of 10 checks passed
@smcguire-cmu smcguire-cmu deleted the sean/change-hipscat-index branch October 1, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants